package com.hjf.demo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.ViewDebug.IntToString;
import android.widget.TextView;

public class ResultActivity extends Activity {
	private TextView textView1;
	private TextView textView2;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_result);
		
		textView1 = (TextView) findViewById(R.id.textView1);
		textView2 = (TextView) findViewById(R.id.textView2);
		
		Intent intent = getIntent();
		textView1.setText(intent.getStringExtra("user"));
		textView2.setText(intent.getStringExtra("pwd"));
	}
}
